SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04a4a1b8fef10bc626035e27c91a14ab83bb77ef48c342e26ea6daef3aab6988' 
  AND token = 'ZoLJAorCTv3JzMVoWcf7k1Kkoq+eQ2YCRyvLq6OC9FE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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