SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7faf7da070606321b5a8216320543e702272a2c769565241f01c91f75e77bb4e' 
  AND token = '7aGC0hnYWENUGljxAEgZKUHvMnanUMRYzWYx1Jy8W2o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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