SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f715357aaf5f2d31cc5b6828eefbd3d183a295991f237318902da88b74cadec' 
  AND token = '1AlQUyKNPdIZdM+3O6Rqi9xiYjP62zr4GQJJfupDM8A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}