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

Query time 0.00030

JSON explain

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