SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c54a1ae840e4a4513f1bc53db72cb2641651e1e27b643c78602bff5234511add' 
  AND token = 'qazwuX7F/D2dej8gD1aKjTEkeKcYxqTzLS4w+EZvRcI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00184

JSON explain

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