SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49098e959002498dc5ef78d389c91c9b87890538115921022cb7342e76f2d436' 
  AND token = 'SdnnyjQvzDX2XXE/ojKbP8tz2T2zDfK1f2+FKUPB8Tk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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