SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3740d1a161c97deb3147b944a78cefff97bb3f59cf4a2d28e864453de31159d' 
  AND token = 'KmEx7R9zTkfDe6q+VQVYIdml0Uab2wmO0jW8cmugRLM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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