SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c651fa0eab6331ef6c17a7fdd308fb64ab64f0c3b34ccb3eaf912b648408dc87' 
  AND token = 'nRI6n7263rNw/h74Sk3y1ph+y7u5wW1Vx7/CA+bMhSc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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