SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f21923ce2fc40bdbbef2185a9ab1ae0fad7dc0384a7309115e393610b3ec149' 
  AND token = 'Zw2Tb7mRWFjQ2kw1tnC83XBH7b3hx5fRa1GfdmtyxA8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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