SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f1ac0c0db9876ed1d6bba77298e60a317ae9b69a6fde1320e293afe0951df9d' 
  AND token = 'tw74k/TDXeuE473fLIw5ifEiSX5WA4jM9VUWlW3M2bk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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