SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb1c7ba5646a2b608615b126b4d6b2bf23a32308e4c34ff8057c0b534c21cc71' 
  AND token = 'JK7eeYxdit6BFAQuJgLL8SZTaGbPvo++Dj7q2eLdjC0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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