SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99550c9f4ffcffa4b65cd7a210b2a0ac5025f27693ffc87e63b2cdbdc0235e49' 
  AND token = 'rLiIbaLsMfefkH16LHO8Pbo0FUswAlMHczYcv4dwvYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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