SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3af3e31044060fb6b680cf0cc29f3a9ef3042d68c3ea9ad840b4dc4540710bff' 
  AND token = '1uWwJ8dbsFLDEfNvZ02PUL/Qr/xV5RrGVMnI1K7A0QQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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