SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b85ce9927c05bc2f5c7e3eac154ac7a8a51aa4bfe83923239f023a320397f2fb' 
  AND token = 'xwPEfsFzY27OPjafq87vjt6w/AfCJWBPMdqJROhnLI0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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