SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f3eeb445ca1452c351239e65a33674f9f3532fce83c966af54cc566eb82711d' 
  AND token = 'J5B7Ha14Ps2C3TXA81gTX95sLRp8za9RMaVEc1hB544=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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