SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed5117e3893324d787c2d200271c0b1c71844b62402fbeb214a7c4642e2059f9' 
  AND token = 'O6EHMSgTay4fpEuajylkcTgY+vRPuKzO4Mjfh3Ot7Jc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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