SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '054d17dd07e7293d63b6df4e29b32804193a3e655d2a753d8e8bf4af424e0b08' 
  AND token = 'vwKTo9RLjiCZpGTsbvNdI9iF/T0Qaek2cxjp4o4s/Rc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}