SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edc31b0f8eeb31093b63026bc520f1cb5593e84b1b494fac35f5324b7743a9ee' 
  AND token = 'cqHIyTZJtwX64a1naQYGgllGy3Hy4vhEDKVUAXFbtPI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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