SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24651861a1145859aa99535b68cbf4bb37fe127097f7511e8056e654aea01588' 
  AND token = 'y+QApwA24qTrjH0LnN7pZ59Bb5pIpD9RhFd8itcKxgA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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