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

Query time 0.00032

JSON explain

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