SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd45300157299f30ec142e8ccbf9c60afc02e2b2595b92e9710e235cbc6d88e5d' 
  AND token = 'NesjSI+Q5Bqu8hN0cFXvkwxcv5NY1wGQUX05A5u7M+w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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