SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d40f86b34cf03668b84869a09cfe3daacf348ad13e81d5bdee7945a025fe839' 
  AND token = 'V3d88P89vLPFvm1u1uT9ZWJT0tLChHlCD4H5NCmzz58=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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