SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddb0cbd4b05d2808d23264ff2fcce3c93d290b468d89c053cdf4b1ffeab3fedc' 
  AND token = 'wrNee2DV+d3+uibaofQwMbt1OVaYWRHJf2j3y7tJNRE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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