SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '64895631f29ad4461674c1378a995a8fa72a484f06d9ea9e61b2d411d5145ea4' 
  AND token = 'nEjZ5KrSTZdE+Q6Q1Ck3MVVONRYPkNHSk/GSlHjlSC4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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